ns16550: correct name/value pair parsing for PCI port/bridge
authorJan Beulich <jbeulich@suse.com>
Fri, 31 Mar 2023 06:35:15 +0000 (08:35 +0200)
committerJan Beulich <jbeulich@suse.com>
Fri, 31 Mar 2023 06:35:15 +0000 (08:35 +0200)
commit7758cd57e002c5096b2296ede67c59fca68724d7
tree1074dc57c9c2a41ac675cc1ab18dba519a0878d3
parent85100ed78ca18f188b1ca495f132db7df705f1a4
ns16550: correct name/value pair parsing for PCI port/bridge

First of all these were inverted: "bridge=" caused the port coordinates
to be established, while "port=" controlled the bridge coordinates. And
then the error messages being identical also wasn't helpful. While
correcting this also move both case blocks close together.

Fixes: 97fd49a7e074 ("ns16550: add support for UART parameters to be specifed with name-value pairs")
Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Andrew Cooper <andrew.cooper3@citrix.com>
master commit: e692b22230b411d762ac9e278a398e28df474eae
master date: 2023-03-29 14:55:37 +0200
xen/drivers/char/ns16550.c